#include "widget.h"
#include "ui_widget.h"
#include<QPushButton>

Widget::Widget(QWidget *parent) : QWidget(parent), ui(new Ui::Widget)
{
    ui->setupUi(this);
    this->setWindowTitle("我的辅助");



   /* QPushButton *QPB=new QPushButton(this);
    QPB->setText("关闭");
    connect(QPB,&QPushButton::clicked,this,&Widget::handclicke);*/

}


Widget::~Widget()
{
    delete ui;
}

void Widget::handclicke()//
{
    this->setWindowTitle("我的新窗口名");
}

